home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1995 November
/
EnigmA AMIGA RUN 02 (1995)(G.R. Edizioni)(IT)[!][issue 1995-11][Skylink CD].iso
/
earcd
/
gfx
/
vtdevel3.lha
/
Include
/
intuition
/
cghooks.i
next >
Wrap
Text File
|
1992-09-24
|
2KB
|
65 lines
IFND INTUITION_CGHOOKS_I
INTUITION_CGHOOKS_I SET 1
**
** $VER: cghooks.i 38.1 (11.11.91)
** Includes Release 39.108
**
** Custom gadget processing
**
** (C) Copyright 1988-1992 Commodore-Amiga, Inc.
** All Rights Reserved
**
IFND EXEC_TYPES_I
INCLUDE "exec/types.i"
ENDC
IFND INTUITION_INTUITION_I
INCLUDE "intuition/intuition.i"
ENDC
; ========================================================================
; === Gadget Info =========================================================
; ========================================================================
; Package of information passed to custom and 'boopsi'
; gadget "hook" functions. This structure is READ ONLY.
STRUCTURE GadgetInfo,0
; APTR ggi_Gadget
APTR ggi_Screen
APTR ggi_Window ; null for screen gadgets
APTR ggi_Requester ; null if not GTYP_REQGADGET
; rendering information:
; don't use these without cloning/locking.
; Official way is to call ObtainRPort()
APTR ggi_RastPort
APTR ggi_Layer
; copy of dimensions of screen/window/g00/req/group
; that gadget resides in. Left/Top of this box is
; offset from window mouse coordinates to gadget coordinates
; screen gadgets: 0,0 (from screen coords)
; window gadgets (no g00): 0,0
; GZZGADGETs (borderlayer): 0,0
; GZZ innerlayer gadget: borderleft, bordertop
; Requester gadgets: reqleft, reqtop
STRUCT ggi_Domain,ibox_SIZEOF
; these are the pens for the window or screen
STRUCT ggi_Pens,2 ; detail and block pen UBYTE's
; the Detail and Block pens in ggi_DrInfo->dri_Pens[] are
; for the screen. Use the above for window-sensitive
; colors.
APTR ggi_DrInfo
; the size of this struct is not defined, since it is allocated
; ONLY by Intuition.
; LABEL ggi_SIZEOF
ENDC